package com.itheima.mall.service.omsService;

import com.itheima.PageResult;
import com.itheima.dto.OrderDto;
import com.itheima.pojo.oms.OmsOrder;
import com.itheima.pojo.oms.OmsOrderItem;

import java.util.List;
import java.util.Map;

public interface OmsOrderApi {
     void delivery(List<Map<String, String>> list) ;

    //分页
    PageResult<OmsOrder> page(OrderDto orderDto, Integer pageNum, Integer pageSize);

    void deleteByIds(Integer[] ids);

    void close(Integer[] ids, String note);

    OmsOrder findById(Integer id);

    List<OmsOrderItem> findItems(Integer id);

    void updateMoney(Double discountAmount, Double freightAmount, Integer orderId, Integer status);

    void updateNote(Long id, String note, Integer status);

    void updateReceiver(Map<String, String> map);
}
